package com.hex.ds.hdtp.core.app.data.contrast.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
public class ContrastTemplateImportExcelDto implements Serializable {

    /**
     * 模板名称
     */
    @Excel(name = "模板名称")
    private String name;
    /**
     * 是否周期比对
     */
    @Excel(name = "是否周期比对")
    private String isCycleContrast;
    /**
     * 比对场景
     */
    @Excel(name = "比对场景")
    private String contrastScene;
    /**
     * 是否建表
     */
    @Excel(name = "是否建表")
    private String isCreateTable;
    /**
     * 是否对比分区字段（Y/N）
     */
    @Excel(name = "是否对比分区字段")
    private String isContrastPartitionField;
    /**
     * 是否比对字段个数（Y/N）
     */
    @Excel(name = "是否比对字段个数")
    private String isContrastFieldCount;
    @Excel(name = "是否对比字段名称")
    private String isContrastFieldName;
    @Excel(name = "是否对比字段类型")
    private String isContrastFieldType;
    @Excel(name = "是否对比字段长度")
    private String isContrastFieldLength;
    @Excel(name = "是否对比字段精度")
    private String isContrastFieldPrecision;
    @Excel(name = "是否对比字段编码")
    private String isContrastEncoded;
    @Excel(name = "有无数据")
    private String isHasData;
    @Excel(name = "是否统计字符length SUM")
    private String isSumCharLength;
    @Excel(name = "是否统计字符trim后length SUM")
    private String isSumCharTrimLength;
    @Excel(name = "是否统计数值 SUM")
    private String isSumNumberField;
    /**
     * 是否统计数据量
     */
    @Excel(name = "是否统计数据量")
    private String isStatisticsDataCount;
    @Excel(name = "全字段")
    private String isAllField;
    @Excel(name = "字符NULL转换空")
    private String isCharNullToEmpty;
    @Excel(name = "数值NULL转换0")
    private String isNumberNullToZero;
    /**
     * 是否设置数据最大容错
     */
    @Excel(name = "是否设置数据最大容错")
    private String isMaxFaultTolerance;
    @Excel(name = "数据容错数量")
    private Integer maxFaultToleranceNum;
    @Excel(name = "是否统计字符length MAX")
    private String isMaxCharLength;
    @Excel(name = "周期CRON设置")
    private String cronExpressions;
    @Excel(name = "数据比对方式")
    private String dataComparisonType;
    @Excel(name = "数据比对抽取数据量范围")
    private Integer dataExtractScope;
    @Excel(name = "数据比对抽取小于等于数据量范围抽取方式")
    private String lessExtractScopeType;
    @Excel(name = "数据比对抽取小于等于数据量范围抽取方式")
    private Integer lessExtractScopeCustom;
    @Excel(name = "数据比对抽取大于数据量范围抽取方式")
    private String greaterExtractScopeType;
    @Excel(name = "数据比对抽取大于数据量范围每次抽取量")
    private Integer greaterExtractScopeCustom;


}

